diff options
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 19 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..c5d8ef4c --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatModulesTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,19 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Global[2]: + - global[0] i32 mutable=1 <Global1> - init i32=7 + - global[1] i64 mutable=0 <Global2> - init i64=9 +Custom: + - name: "linking" + - symbol table [count=2] + - 0: G <Global1> global=0 [ binding=global vis=default ] + - 1: G <Global2> global=1 [ binding=global vis=default ] +Custom: + - name: "name" + - global[0] <Global1> + - global[1] <Global2> + +Code Disassembly: |
